#include "BlazeEngineUIObject.h"

BeUIObject::BeUIObject(const char* pcName)
{

}

BeUIObject::~BeUIObject()
{

}

void BeUIObject::Install(lua_State* pLua)
{
	Lua_RegisterFunction(pLua, "SetAlpha", Lua_SetAlpha);
	Lua_RegisterFunction(pLua, "GetAlpha", Lua_GetAlpha);
	Lua_RegisterFunction(pLua, "GetName", Lua_GetName);
	Lua_RegisterFunction(pLua, "GetObjectType", Lua_GetObjectType);
	Lua_RegisterFunction(pLua, "IsObjectType", Lua_IsObjectType);

}

void BeUIObject::Uninstall()
{

}

void BeUIObject::Lua_RegisterFunction(lua_State* pLua, const char* pcName, lua_CFunction fn)
{
	lua_pushstring(pLua, pcName);
	lua_pushcfunction(pLua, fn); 
	lua_settable(pLua, -3);
}

int BeUIObject::Lua_SetAlpha(lua_State* pLua)
{
	return 0;
}

int BeUIObject::Lua_GetAlpha(lua_State* pLua)
{
	return 0;
}

int BeUIObject::Lua_GetName(lua_State* pLua)
{
	return 0;
}

int BeUIObject::Lua_GetObjectType(lua_State* pLua)
{
	return 0;
}

int BeUIObject::Lua_IsObjectType(lua_State* pLua)
{
	return 0;
}
